home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6084 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news1.interserv.net!news
  2. From: <dvisage@interserv.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: STL with MSVC++ 4.0
  5. Date: 11 Feb 1996 22:02:00 GMT
  6. Organization: InterServ News Service
  7. Message-ID: <4flp0o$101@lal.interserv.net>
  8. NNTP-Posting-Host: dd06-002.compuserve.com
  9. Content-Type: text/plain
  10. Content-length: 869
  11. X-Newsreader: AIR Mosaic (32-bit) 4.00
  12.  
  13.  
  14.  >>include new.h. Beyond that, I'm still tracking down ambiguos operators
  15. >>for the iterator types. You can make it work, but its not a gimme.
  16. >
  17. >>John S.
  18. >
  19. >Microsoft have a paper on MFC and Standard Template Library at
  20. >http://www.microsoft.com/visualc/v4/v4tech/stlchg.htm
  21. >
  22. >
  23. >Cheers,
  24. >Peter J Brock
  25. >http:/www.magna.com.au/~peter
  26. >
  27. I have also had similar problems with ambigous iterator operators.  Especially,
  28. the map::iterator.  To get around the namespace problem, you also need to
  29. include iostream.h as well as new.h in order for the piece of **** to even 
  30. compile with MFC source code.
  31.  
  32. I just recently download a copy of STL dated October 1995 that no longer
  33. seem to want to compile my source code.  The previous version that I
  34. was using seemed to work.
  35.  
  36. The problem is an ambiguos map::const_iterator::operator!=()
  37.  
  38. Any solutions?
  39.  
  40.